.wrapper {
  width: 990px;
  margin: 0 auto;
}
.hidden {
  display: none;
}
html,body{
  height: 100%;
  color: #999999;
}
td{
  font-size:12px;
}
input, button {
  outline: none;
}
#fixbox{
  padding-top: 25px;
  z-index: 9999;
  width: 35px;
  height: 100%;
  background-color: #333333;
  position: fixed;
  top: 0;
  right: 0;
  color: white;
  letter-spacing: 3px;
  i{
    width: 24px;
    height: 24px;
    background-image: url("../../images/img/site_bar.png");
    background-repeat: no-repeat;
    background-position: 0,0;
  }
  .mod{
    margin-top: 25px;
    text-align: center;
    cursor: pointer;
    height: 43px;
    overflow: hidden;
  }
  .pos{
    transition:.5s;
    position:relative;
    top:0;
    left: 0;
  }
  #online{
    span{
      padding:10px 0 5px 0;
      background-color: #c40000;
    }
  }
  #survey{
    i{
      background-position:  -6px -4px;
    }
  }
  #survey:hover {
    background-color: #c40000;
    .pos{
      top:-43px;
    }
  }
  #shopcart{
    height: 110px;
    padding: 5px 0 10px 0;
    i{
      width: 35px;
      height: 35px;
      background-position: 0 -39px;
    }
    ul>li{
      margin-bottom:5px;
    }
  }
  #shopcart:hover{
    background-color: #c40000;
  }
  #atten{
    i{
      background-position: -6px -74px;
    }
  }
  #atten:hover {
    background-color: #c40000;
    .pos{
      top:-45px;
    }
  }
  #collect{
    i{
      background-position: -6px -109px;
    }
  }
  #collect:hover {
    background-color: #c40000;
    .pos{
      top:-45px;
    }
  }
  #weixin{
    height: 38px;
    i{
      background-position: -6px -144px;
    }
  }
  #weixin:hover {
    background-color: #c40000;
    .pos{
      top:-33px;
    }
  }
  #backtop{
    position: absolute;
    bottom: 30px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    height: 33px;
    i{
      background-position: -6px -179px;
    }
  }
  #backtop:hover {

    background-color: #c40000;
    .pos{
      top:-33px;
    }
  }
}
header {
  #site-nav {
    height: 31px;
    background-color: #f2f2f2;
    color: #999999;
    font-size: 12px;
    font-weight: 100;
    text-align: center;
    div, ul {
      height: 21px;
      line-height: 21px;
    }
    .area {
      padding: 5px 0;
      float: left;
      padding-left: 15px;
      padding-right: 55px;
      position: relative;
      em {
        position: absolute;
        left: 0;
        top: 9px;
        width: 13px;
        height: 13px;
        background: url("../../images/img/curcity.png") no-repeat -6px -4px;
      }
      a{
        font-size: 12px;
      }
      span {
        cursor: pointer;
        width: 40px;
        height: 21px;
        font-size: 12px;
        background-color: #ff3300;
        color: #fff;
        margin-right: 13px;
      }
    }
    .site-nav-left {
      padding: 5px 0;
      float: left;

      li {
        float: left;
        margin-right: 15px;
        em{
          font-size: 12px;
        }
        a{
          font-size: 12px;
        }
      }
    }
    .site-nav-right {
      float: right;
      em {
        float: left;
        position: relative;
        left: -8px;
        top: 5px;
      }
      a {
        font-size: 12px;
        font-weight: 100;
      }
      li:hover {
        b {
          transform: rotate(-180deg);
          transform-origin: center 2px;
        }
      }
      .myfo:hover {
        background: white;
        .hidden {
          display: block;
        }
      }
      .pro:hover {
        background: white;
        .hidden {
          display: block;
        }
      }
      .pho:hover {
        background: white;
        .hidden {
          display: block;
        }
      }
      .pro {
        a {
          margin-right: 5px;
        }
      }
      .pro, .myfo {
        padding: 5px 10px;
      }
      .pho {
        padding: 5px 15px;
        margin: 0;
      }
      .mysh {
        padding-left: 15px;
        a {
          color: #e31939;
        }
      }
      .cart {
        padding-left: 10px;
        a {
          color: #e31939;
        }
      }

      .loca {
        padding-left: 10px;
      }

      li {
        padding-top: 5px;
        position: relative;
        float: left;
        height: 31px;
        margin: 0 10px;

        .hover {
          position: absolute;
          left: 0;
          top: 31px;
          background: white;
          border: 1px solid #f2f2f2;
          border-top: 0;
          a {
            color: #3c3c3c;
            font-size: 12px;;
          }
          a:hover {
            color: #e31939;
          }
        }
        .li-myfo {
          padding: 8px 10px;
          width: 74px;
          height: 45px;
        }
        .li-pro {
          padding: 8px 5px;
          width: 65px;
          height: 40px;
        }
        .li-pho {
          padding: 8px 5px;
          width: 150px;
          height: 150px;
          img {
            width: 100%;
          }
        }
        b {
          position: absolute;
          top: 14px;
          width: 7px;
          height: 7px;
          background-image: url("../../images/img/site-bg.png");
          background-repeat: no-repeat;
          background-position: 0 -4px;
          transition: 0.2s ease-in-out;
        }
        .b1 {
          left: 62px;
        }
        .b2 {
          left: 50px;
        }
        .b3 {
          left: 55px;
        }
        .b4 {
          left: 55px;
        }
        .b5 {
          left: 60px;
        }
        i {
          position: absolute;
          left: 0px;
          top: 10px;
          width: 14px;
          height: 14px;
          background-image: url("../../images/img/user_header.png");
          background-repeat: no-repeat;
        }
        .i1 {
          background-position: -293px -26px;
        }
        .i2 {
          left: -8px;
          background-position: -295px -4px;
        }
        .i3 {
          left: 3px;
          background-position: -364px -4px;
        }
        .i4 {
          left: -5px;
          background-position: -293px -43px;
        }
      }
    }
  }
  #site-bot{
    margin-top: 20px;
    #logo {
      float: left;
    }
    #stepbar{
      margin: 0 auto;
      padding: 10px 0 20px;
      width: 660px;
      position: absolute;
      z-index: -99;
      top: 40px;
      left: 252px;
      right: 0;
      ul{
        overflow: hidden;
        margin-right: -40px;
        li{
          float: left;
          text-align: center;
          width: 140px;
          .step-done{
            color: #888;
            font-weight: 700;
            padding: 3px 0;
            .step-name{
              color: #888;
              font-weight: 700;
              padding: 3px 0;
              font-size: 10px;
            }
            .step-no{
              color: #fff;
              font-family: 'arial black';
              font-size: 18px;
              height: 34px;
              line-height: 34px;
              background-image: url(../../images/img/T1Usl8FnRfXXcVlxZa-734-340.png);
              background-repeat: no-repeat;
              background-position:50% -102px ;
            }
            .step1{
              background-position: 50% -204px;
            }
            .step5{
              background-position: 50% -136px;
            }
          }

        }
      }
    }
  }
}
#shop{
  margin-top:25px;
  background: #F9F9F9;
  height: auto;
  width: 100%;
  .main{
    margin-top: 10px;
    border: 1px solid #ddd;
    background: #fff;
    margin: 0 auto;
    #head-cart{
      background: #f1f1f1;
      height: 35px;
      line-height: 35px;
      border-bottom: 1px solid #DDD;
    }
    #form-cart{
    table>tbody>tr{
      width: 100%;
      border-bottom: 1px dashed #ddd;
      td{
        vertical-align: middle;
        .jm{
          width: 65%;
          text-align: center;
          margin: 0 auto;
          padding: 0 auto;
          overflow: hidden;
          span{
            float: left;
            cursor: pointer;
            border: 1px solid #bbb;
            width: 20px;
            height: 20px;
            margin: 0;
            padding: 0;
            font-size: 15px;
            font-weight: bold;
          }
          .cut{
            line-height: 18px;
            border-right: 0;
          }
          .jminput{
            float: left;
            width: 30px;
            text-align: center;
            margin: 0;
            border: 1px solid #b3b3b3;
            height: 18px;
            line-height: 20px;
          }
          .add{
            line-height: 18px;
            border-left: 0;
          }
          }
        .price{
          font-size: 14px;
          font-weight: bold;
          color: rgb(227, 25, 57);
        }
        dl{
          width: 100%;
          margin: 13px 10px 13px 30px;
          dt{
            float: left;
            width: 80px;
            text-align: center;
            img{
              width: 60px;
              height: 60px;
            }
          }
          dd{
            float: left;
            width: 245px;
            text-align: left;
            font-size: 14px;
          }
        }
      }
    }
    }
    #fun-cart{
      border: 0;
      border-top: 1px solid #ddd;
      .cbuy{
        display: block;
        text-align: center;
        text-decoration: none;
        font-size: 15px;
        margin-left: 15px;
        width: 140px;
        height: 40px;
        line-height: 40px;
        background: #fafafa;
        border: 1px solid #d9d9d9;
      }
      .clearcart{
        color: rgb(170, 170, 170);
      }
      .calculate{
        display: block;
        text-align: center;
        text-decoration: none;
        font-size: 17px;
        width: 150px;
        height: 40px;
        color: white;
        line-height: 40px;
        background: #E31939;
        margin-right: 25px;
        margin-left: 10px;
      }
      span{
        color: #E31939;
        font-family: Helvetica, arial, sans-serif;
        font-size: 16px;
        font-weight: bold;
      }
    }
  }
}
#goodbuy{
  border: 1px solid #ddd;
  background: #fff;
  .til{
    background: #f1f1f1;
    height: 35px;
    line-height: 35px;
    border-bottom: 1px solid #DDD;
    .hottitle{
      margin: 0px 0 0 40px;
      .curr{
        background: #fff;
        border: 1px solid #ddd;
        border-bottom: 1px solid #fff;
        color: #e31939;
      }
      li{
        float: left;
        margin-right: 20px;
        height: 30px;
        line-height: 30px;
        padding: 0 20px;
        color: #666;
        cursor: pointer;
        margin-top: 4px;
        }
    }
  }
  .flowbox{
    width: 100%;
    ul{
      width: 100%;
      .detail{
        float: left;
        width: 160px;
        color: #2f2f2f;
          height: 257px;
        overflow: hidden;
        margin: 20px 0 0 31px;
        position: relative;


          .goodsimg{
            img{
              display: block;
              width: 150px;
              height: 150px;
              margin: 0 auto 10px;
            }
          }
          .title{
            margin-bottom: 5px;
            height: 35px;
            overflow: hidden;
            font-size: 12px;
            a{
              color: #777;
              text-decoration: none;
            }
          }
          .o-price{
            color: #999;
            text-decoration: line-through;
            font-family: arial;
          }
          .price{
            font-size: 15px;
            font-family: Verdana;
            color: #E31939;
          }
          .addcart{
            position: absolute;
            bottom: 13px;
            right: 0px;
            width: 32px;
            height: 32px;
            cursor: pointer;
            background: url(../../images/img/index.png) no-repeat 0 0;
          }
        }

    }
  }
}
footer{
  padding: 50px 0 30px;

  color: #666666;
  .fot-top{
    margin:5px 0 10px 80px ;
  }
  a{font-size: 12px;
    color: #666666;
    padding: 0 8px;
  }
  a:hover{
    color: orangered;
  }
  .fot-bot{
    margin-left: 30px;
    a{
      padding: 0px;
    }
  }
}